/**
 * 日志操作记录字段表
 */

const mongoose = require('mongoose')

module.exports = new mongoose.Schema({
    //日志创建时间
    logCreateTime: { type: Date, default: Date.now },
    //请求url
    requestUrl:String,
    //请求方法
    requestMethod:String,
    //请求头
    header:Object,
    //请求IP
    requestIp:String,
    //请求时间
    syslogTime:String,
    //请求内容
    operateContent:String,
    //不晓得
    loginId:String
});